package com.tyqx.hashchainbiz.service;

import com.tyqx.hashchainbean.module.NeedProduct;

import java.util.Date;
import java.util.List;

public interface NeedProductService {
    public Integer needProduct(NeedProduct needProduct)throws Exception;

    public List<NeedProduct> getNeedProductById(String donateId, String userName);

    public List<NeedProduct> getNeedProductByTime(Date startTime, Date endTime, String userName);
}
